package com.huawei.appgallery.foundation.ui.css;

import java.util.ArrayList;
import java.util.List;

public class CSSSelector$Builder {
    private List<String> selectArray = new ArrayList();

    public CSSSelector$Builder(String str) {
        this.selectArray.add(str);
    }

    public CSSSelector$Builder(CSSSelector cSSSelector) {
        if (CSSSelector.access$000(cSSSelector) != null) {
            this.selectArray.addAll(CSSSelector.access$000(cSSSelector));
        }
    }

    public CSSSelector$Builder select(String str) {
        this.selectArray.add(str);
        return this;
    }

    public CSSSelector build() {
        CSSSelector cSSSelector = new CSSSelector(null);
        CSSSelector.access$002(cSSSelector, this.selectArray);
        return cSSSelector;
    }
}
